package com.carpedil.demo.service;

import com.carpedil.demo.po.User;
import com.carpedil.demo.vo.UserVo;
import org.springframework.stereotype.Service;

import java.util.List;

/** @author Administrator */
@Service
public interface UserService {
  /**
   * login
   *
   * @param user user
   * @return boolean t/f
   */
  User login(User user);

  User login2(User user);

  List<UserVo> findAllUsers();

  User getUserById(int userId);
}
